﻿<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<jsp:include page="./common/common.jsp"></jsp:include>
<title></title>
</head>
<body>
<div data-role="page" id="foods" data-title="Home" data-dom-cache="false">
<script type="text/javascript" src="../js/foods.js"></script>
  <div data-role="header" data-position="fixed">
    <h1></h1>
  </div>
  <div data-role="content">
    <ul data-role="listview" data-inset="true" data-filter="true">
      <li data-role="list-divider">
        <h3>食品列表</h3>
      </li>
      <s:iterator value="foods" status="food">
          <li>
             <a href="#" name="foodInfo" data-foodid="<s:property value="id"/>">
                 <img src="<s:property value="backup1"/>" class="ui-li-icon">
                 <h3><s:property value="name" /></h3>
             </a>
          </li>
      </s:iterator>
    </ul>
  </div>
  <s:hidden name="fromPage"></s:hidden>
  <div data-role="footer" data-position="fixed">
    <h1></h1>
  </div>
</div>
<div>
</div>
</body>
</html>